package mg.house.WaterFilter;

import mg.Pong.Pong;

import com.jme.app.SimpleGame;
import com.jmex.game.state.GameStateManager;
import com.jmex.physics.util.SimplePhysicsGame;

public class TestWaterFilter extends SimplePhysicsGame {
	
	public static void main(String[] args) {
        TestWaterFilter app = new TestWaterFilter();
        app.setConfigShowMode(ConfigShowMode.AlwaysShow);
        app.start();

	}

	@Override
	protected void simpleInitGame() {
		GameStateManager.create();
		FilterGameState fgs = new FilterGameState();
		fgs.setActive(true);
		GameStateManager.getInstance().attachChild(fgs);
	}
	
	public void simpleUpdate(){
		GameStateManager.getInstance().update(tpf);
	}
	
	
    protected void simpleRender()
    {
        GameStateManager.getInstance().render(tpf);
    }
}
